package com.hl.sfzy.service;


import com.hl.sfzy.entity.SearchTest;
import com.hl.sfzy.mapper.SearchTestMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SearchTestService {
    @Autowired
    private SearchTestMapper searchTestMapper;

    public List<SearchTest> searchTests(String query) {
        return searchTestMapper.searchTests(query);
    }
}
